﻿// -----------------------------------------------------------------------------
// 园丁,是个很简单的管理系统
//  gitee:https://gitee.com/hgflydream/Gardener 
//  issues:https://gitee.com/hgflydream/Gardener/issues 
// -----------------------------------------------------------------------------

using Gardener.Core.Attachment.Enums;
using Gardener.Core.Module;

namespace Gardener.Core.Attachment
{
    /// <summary>
    /// 模块
    /// </summary>
    public class AttachmentModule : IModule
    {
        /// <summary>
        /// 
        /// </summary>
        public string Name => "Attachment";

        /// <summary>
        /// 
        /// </summary>
        public string? Description => "附件模块";

        /// <summary>
        /// 自定义异常code类型
        /// </summary>
        /// <returns></returns>
        public Type[]? GetCustomErrorCodeTypes()
        {
            return [typeof(AttachmentExceptionCode)];
        }
    }
}
